<template>
    <div id="app">
        <router-view></router-view>
    </div>
</template>
<script>
import * as types from './store/types'
import {
    mapState
}
from 'vuex'
export default {
    name: 'app',
    data() {
        return {

        }
    },
    computed: mapState({
        title: state => state.title,
        token: state => state.token
    }),
    methods: {
        // logout() {
        //     this.$store.commit(types.LOGOUT)
        //     this.$router.push({
        //         path: '/'
        //     })
        // }
    }
}
</script>
